package com.wwj.my_ummary.videos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 视频表
 * </p>
 *
 * @author wwj
 * @since 2021-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("yzcm_videos")
@ApiModel(value="Videos对象", description="视频表")
public class Videos implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "cmc_id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "发布者id")
    @TableField("cmc_account_id")
    private Integer accountId;

    @ApiModelProperty(value = "关联bgmid")
    @TableField("cmc_bgm_id")
    private Integer bgmId;

    @ApiModelProperty(value = "评论的数量")
    @TableField("cmc_comments_counts")
    private Integer commentsCounts;

    @ApiModelProperty(value = "视频封面图")
    @TableField("cmc_cover_path")
    private String coverPath;

    @ApiModelProperty(value = "创建日期")
    @TableField("cmc_creat_time")
    private Date creatTime;

    @ApiModelProperty(value = "礼物的数量")
    @TableField("cmc_gift_counts")
    private Integer giftCounts;

    @ApiModelProperty(value = "//喜欢/赞美的数量")
    @TableField("cmc_like_counts")
    private Integer likeCounts;

    @ApiModelProperty(value = "备注")
    @TableField("cmc_remarks")
    private String remarks;

    @ApiModelProperty(value = "/转发的数量")
    @TableField("cmc_share_counts")
    private Integer shareCounts;

    @ApiModelProperty(value = "状态: 0未审核 1发布成功 2发布失败 3禁止播放")
    @TableField("cmc_status")
    private Integer status;

    @ApiModelProperty(value = "视频描述")
    @TableField("cmc_video_desc")
    private String videoDesc;

    @ApiModelProperty(value = "视频标签")
    @TableField("cmc_video_label")
    private String videoLabel;

    @ApiModelProperty(value = "视频存放的路径")
    @TableField("cmc_video_path")
    private String videoPath;

    @ApiModelProperty(value = "视频秒数")
    @TableField("cmc_video_seconds")
    private Integer videoSeconds;

    @ApiModelProperty(value = "视频标题")
    @TableField("cmc_video_title")
    private String videoTitle;

    @ApiModelProperty(value = "类型: 0推荐视频 1广告专区 2商品广告")
    @TableField("cmc_type")
    private Integer type;

    @ApiModelProperty(value = "关联商品")
    @TableField("cmc_goods_id")
    private Integer goodsId;


    public static final String CMC_ID = "cmc_id";

    public static final String CMC_ACCOUNT_ID = "cmc_account_id";

    public static final String CMC_BGM_ID = "cmc_bgm_id";

    public static final String CMC_COMMENTS_COUNTS = "cmc_comments_counts";

    public static final String CMC_COVER_PATH = "cmc_cover_path";

    public static final String CMC_CREAT_TIME = "cmc_creat_time";

    public static final String CMC_GIFT_COUNTS = "cmc_gift_counts";

    public static final String CMC_LIKE_COUNTS = "cmc_like_counts";

    public static final String CMC_REMARKS = "cmc_remarks";

    public static final String CMC_SHARE_COUNTS = "cmc_share_counts";

    public static final String CMC_STATUS = "cmc_status";

    public static final String CMC_VIDEO_DESC = "cmc_video_desc";

    public static final String CMC_VIDEO_LABEL = "cmc_video_label";

    public static final String CMC_VIDEO_PATH = "cmc_video_path";

    public static final String CMC_VIDEO_SECONDS = "cmc_video_seconds";

    public static final String CMC_VIDEO_TITLE = "cmc_video_title";

    public static final String CMC_TYPE = "cmc_type";

    public static final String CMC_GOODS_ID = "cmc_goods_id";

}
